[INFO] cloning repository https://github.com/Navidem/rls-analysis
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Navidem/rls-analysis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavidem%2Frls-analysis", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavidem%2Frls-analysis'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5a178098f159354096d97dd86941963facc7dce
[INFO] checking Navidem/rls-analysis against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavidem%2Frls-analysis" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Navidem/rls-analysis on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Navidem/rls-analysis
[INFO] finished tweaking git repo https://github.com/Navidem/rls-analysis
[INFO] tweaked toml for git repo https://github.com/Navidem/rls-analysis written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Navidem/rls-analysis already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rls-data v0.16.0
[INFO] [stderr]   Downloaded proc-macro2 v0.3.6
[INFO] [stderr]   Downloaded quote v0.5.1
[INFO] [stderr]   Downloaded syn v0.13.1
[INFO] [stderr]   Downloaded derive-new v0.5.4
[INFO] [stderr]   Downloaded rls-span v0.4.0
[INFO] [stderr]   Downloaded radix_trie v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dfb28634c840df6a0d3c5e84c1a9539f1a61c6ceb5fb96d7ca3b73abe5f60e84
[INFO] running `Command { std: "docker" "start" "-a" "dfb28634c840df6a0d3c5e84c1a9539f1a61c6ceb5fb96d7ca3b73abe5f60e84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfb28634c840df6a0d3c5e84c1a9539f1a61c6ceb5fb96d7ca3b73abe5f60e84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfb28634c840df6a0d3c5e84c1a9539f1a61c6ceb5fb96d7ca3b73abe5f60e84", kill_on_drop: false }`
[INFO] [stdout] dfb28634c840df6a0d3c5e84c1a9539f1a61c6ceb5fb96d7ca3b73abe5f60e84
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 19023f421f30c8119a6357f14e4a5e4c49ead31beef665735e0e77719ddfc4a5
[INFO] running `Command { std: "docker" "start" "-a" "19023f421f30c8119a6357f14e4a5e4c49ead31beef665735e0e77719ddfc4a5", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking libc v0.2.40
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking cfg-if v0.1.2
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]     Checking nibble_vec v0.0.4
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]    Compiling proc-macro2 v0.3.6
[INFO] [stderr]     Checking log v0.4.1
[INFO] [stderr]     Checking radix_trie v0.1.3
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]    Compiling quote v0.5.1
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]    Compiling syn v0.13.1
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking env_logger v0.3.5
[INFO] [stderr]     Checking rls-span v0.4.0
[INFO] [stderr]     Checking rls-data v0.16.0
[INFO] [stderr]    Compiling derive-new v0.5.4
[INFO] [stderr]     Checking rls-analysis v0.13.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/lib.rs:581:46
[INFO] [stdout]     |
[INFO] [stdout] 581 |         write!(f, "{}", ::std::error::Error::description(self))
[INFO] [stdout]     |                                              ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/lib.rs:581:46
[INFO] [stdout]     |
[INFO] [stdout] 581 |         write!(f, "{}", ::std::error::Error::description(self))
[INFO] [stdout]     |                                              ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/lib.rs:516:45
[INFO] [stdout]     |
[INFO] [stdout] 516 | ...                   parent_qualpath.trim_right_matches('/'),
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated associated function
[INFO] [stdout]     |
[INFO] [stdout] 516 |                             parent_qualpath.trim_end_matches('/'),
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base_dir`
[INFO] [stdout]    --> src/lowering.rs:366:51
[INFO] [stdout]     |
[INFO] [stdout] 366 |     fn lower_sig(&self, raw_sig: &raw::Signature, base_dir: &Path) -> Signature {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/lib.rs:516:45
[INFO] [stdout]     |
[INFO] [stdout] 516 | ...                   parent_qualpath.trim_right_matches('/'),
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated associated function
[INFO] [stdout]     |
[INFO] [stdout] 516 |                             parent_qualpath.trim_end_matches('/'),
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base_dir`
[INFO] [stdout]    --> src/lowering.rs:366:51
[INFO] [stdout]     |
[INFO] [stdout] 366 |     fn lower_sig(&self, raw_sig: &raw::Signature, base_dir: &Path) -> Signature {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_dir`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> benches/std_api_crate.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | / lazy_static! {
[INFO] [stdout] 48 | |     static ref STDLIB_FILE_PATH: PathBuf = PathBuf::from("/checkout/src/libstd/lib.rs");
[INFO] [stdout] 49 | |     static ref STDLIB_DATA_PATH: PathBuf = PathBuf::from("test_data/rust-analysis");
[INFO] [stdout] 50 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |     };
[INFO] [stdout] 58 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> benches/std_api_crate.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | / lazy_static! {
[INFO] [stdout] 48 | |     static ref STDLIB_FILE_PATH: PathBuf = PathBuf::from("/checkout/src/libstd/lib.rs");
[INFO] [stdout] 49 | |     static ref STDLIB_DATA_PATH: PathBuf = PathBuf::from("test_data/rust-analysis");
[INFO] [stdout] 50 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |     };
[INFO] [stdout] 58 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> benches/std_api_crate.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | / lazy_static! {
[INFO] [stdout] 48 | |     static ref STDLIB_FILE_PATH: PathBuf = PathBuf::from("/checkout/src/libstd/lib.rs");
[INFO] [stdout] 49 | |     static ref STDLIB_DATA_PATH: PathBuf = PathBuf::from("test_data/rust-analysis");
[INFO] [stdout] 50 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |     };
[INFO] [stdout] 58 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `search_directories` has an incompatible type for trait
[INFO] [stdout]   --> benches/std_api_crate.rs:44:37
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn search_directories(&self) -> Vec<PathBuf> { vec![self.path.clone()] }
[INFO] [stdout]    |                                     ^^^^^^^^^^^^
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     expected struct `SearchDirectory`, found struct `PathBuf`
[INFO] [stdout]    |                                     help: change the output type to match the trait: `Vec<rls_analysis::loader::SearchDirectory>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&TestAnalysisLoader) -> Vec<rls_analysis::loader::SearchDirectory>`
[INFO] [stdout]               found signature `fn(&TestAnalysisLoader) -> Vec<PathBuf>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rls-analysis` due to 2 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "19023f421f30c8119a6357f14e4a5e4c49ead31beef665735e0e77719ddfc4a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19023f421f30c8119a6357f14e4a5e4c49ead31beef665735e0e77719ddfc4a5", kill_on_drop: false }`
[INFO] [stdout] 19023f421f30c8119a6357f14e4a5e4c49ead31beef665735e0e77719ddfc4a5
